Migrate lint/format tooling to Ruff, update CI matrix, and stabilize cross-platform/firefox tests#1978
Draft
yuriverweij wants to merge 13 commits intorobotframework:masterfrom
Draft
Conversation
… support to 3.10+
- Updated type hints to use the new syntax (e.g., `list[str]` instead of `List[str]`). - Improved readability by replacing `isinstance` checks with more concise conditions. - Simplified exception handling and error messages for better clarity. - Enhanced the `WindowInfo` class by switching from `namedtuple` to `NamedTuple`. - Streamlined the `get_window_infos` method to reduce redundancy. - Replaced assertions in unit tests with assert statements for consistency. - Updated the linting task to allow automatic fixing of issues. - Removed unnecessary imports and cleaned up code formatting.
- Updated test_event_firing_webdriver.py to use pytest for exception assertions. - Refactored test_plugin_keyword_tags.py to utilize MyLib and MyLibArgs classes. - Changed test_plugins.py to use NamedTuple for plugin representation and improved exception handling with pytest. - Modified test_entry_point.py to include pathlib import. - Reordered imports and improved exception assertions in various test files. - Enhanced test_webdrivercreator.py and test_webdrivercreator_executable_path.py for better readability and consistency. - Updated test_browsermanagement.py to use pytest for exception assertions and improved assertions. - Refactored test_click_modifier.py to streamline invalid modifier tests. - Improved test_cookie.py and test_expectedconditions.py for consistency and clarity. - Enhanced test_firefox_profile_parsing.py and test_input_text_file_decorator.py for better readability. - Refactored test_keyword_arguments_browsermanagement.py and test_keyword_arguments_element.py for consistency. - Updated test_windowmanager.py and test_elementfinder.py to improve exception handling and assertions. - Added translation tests and improved type handling in test_types.py. Co-authored-by: Copilot <[email protected]>
…revent password manager leak detection in Chrome
Co-authored-by: Copilot <[email protected]>
… commands Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch replaces legacy lint/format tooling with Ruff, updates CI and runtime compatibility targets, and cleans up platform/browser-specific test behavior so checks are consistent across environments.
Major changes
tasks.pyLintFormatCheck.ymlmouse.robotDocumentation updates
CONTRIBUTING.rstBehavioral impact
CI and quality checks
Notes